<!DOCTYPE html>

<html>

<head>
    <meta charset="utf-8">
    <title>老师班</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="plugins/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="css/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">

</head>

<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header header header-demo">
        <div class="layui-main">
            <div class="admin-login-box">
                <a class="logo" style="left: 0;" href="#">
                    <span style="font-size: 22px;">老师班管理系统</span>
                </a>
                <div class="admin-side-toggle">
                    <i class="fa fa-bars" aria-hidden="true"></i>
                </div>
            </div>
            <ul class="layui-nav admin-header-item">
                <li class="layui-nav-item">
                    <a href="javascript:;"></a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"></a>
                </li>
                <li class="layui-nav-item" id="video1">
                    <a href="javascript:;"></a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" class="admin-header-user">
                        <img
                                src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2688696349,3844117641&fm=26&gp=0.jpg"/>
                        <span th:text="${login_name}">beginner</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;"><i class="fa fa-user-circle" aria-hidden="true"></i> 个人信息</a>
                        </dd>
                        <dd id="lock">
                            <a href="javascript:;">
                                <i class="fa fa-lock" aria-hidden="true"
                                   style="padding-right: 3px;padding-left: 1px;"></i> 锁屏 (Alt+L)
                            </a>
                        </dd>
                        <dd>
                            <a href="login_out.do"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
                        </dd>
                    </dl>
                </li>
            </ul>
            <ul class="layui-nav admin-header-item-mobile">
                <li class="layui-nav-item">
                    <a href="login_out.do"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-side layui-bg-black" id="admin-side">
        <div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side"></div>
    </div>
    <div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;" id="admin-body">
        <div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
            <ul class="layui-tab-title">
                <li class="layui-this">
                    <i class="fa fa-dashboard" aria-hidden="true"></i>
                    <cite>控制面板</cite>
                </li>
            </ul>
            <div class="layui-tab-content" style="min-height: 150px; padding: 5px 0 0 0;">
                <div class="layui-tab-item layui-show">
                    <iframe src="main.do"></iframe>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-footer footer footer-demo" id="admin-footer">
        <div class="layui-main">
            <p>江西师范大学 &copy;
                <a href="https://jwc.jxnu.edu.cn/Portal/Index.aspx">菜鸟出品</a>
            </p>
        </div>
    </div>
    <div class="site-tree-mobile layui-hide">
        <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>

    <!--锁屏模板 start-->
    <script type="text/template" id="lock-temp">
        <div class="admin-header-lock" id="lock-box">
            <div class="admin-header-lock-img">
                <img src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2688696349,3844117641&fm=26&gp=0.jpg"/>
            </div>
            <div class="admin-header-lock-name" id="lockUserName">beginner</div>
            <input type="text" class="admin-header-lock-input" value="输入密码解锁.." name="lockPwd" id="lockPwd"/>
            <button class="layui-btn layui-btn-small" id="unlock">解锁</button>
        </div>
    </script>
    <!--锁屏模板 end -->

    <script type="text/javascript" src="plugins/layui/layui.js"></script>
    <script type="text/javascript" th:if="${user_type eq '0'}">
        var navs = [{
            "title": "院系管理",
            "icon": "fa-cubes",
            "spread": true,
            "children": [{
                "title": "系列表",
                "icon": "fa-table",
                "href": "department.do"
            }, {
                "title": "班级列表",
                "icon": "fa-table",
                "href": "grade.do"
            }]
        }, {
            "title": "老师管理",
            "icon": "&#x1002;",
            "spread": false,
            "children": [{
                "title": "老师列表",
                "icon": "fa-check-square-o",
                "href": "teacher.do"
            }, {
                "title": "老师类型",
                "icon": "fa-check-square-o",
                "href": "teacher_type.do"
            }]
        }];
    </script>
    <!-- 用户类型：0-校长/最高管理员，1-老师，2-学生 -->
    <script type="text/javascript" th:if="${user_type eq '1'}">
        var navs = [{
            "title": "学生管理",
            "icon": "fa-cubes",
            "spread": true,
            "children": [{
                "title": "学生列表",
                "icon": "fa-table",
                "href": "student.do"
            }]
        }, {
            "title": "题库管理",
            "icon": "fa-cogs",
            "spread": false,
            "children": [{
                "title": "题库列表",
                "icon": "fa-table",
                "href": "question_bank.do"
            }]
        }, {
            "title": "作业管理",
            "icon": "fa-cogs",
            "spread": false,
            "children": [{
                "title": "作业布置",
                "icon": "fa-navicon",
                "href": "question_bank_send.do"
            }, {
                "title": "作业批改",
                "icon": "fa-navicon",
                "href": "student_answers.do"
            }]
        }];
    </script>
    <!-- 用户类型：0-校长/最高管理员，1-老师，2-学生 -->
    <script type="text/javascript" th:if="${user_type eq '2'}">
        var navs = [{
            "title": "作业管理",
            "icon": "fa-cubes",
            "spread": true,
            "children": [{
                "title": "作业列表",
                "icon": "fa-table",
                "href": "student_question_bank.do"
            }]
        }];
    </script>
    <script src="js/index.js"></script>
</div>
</body>

</html>